package creator.prototype;

import java.io.Serializable;

public class QianClone implements Serializable, Cloneable {

    private String name;
    private Integer age;

    public QianClone() {

    }

    public QianClone(String name, Integer age) {
        this.name = name;
        this.age = age;
    }

    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }

    @Override
    public String toString() {
        return "QianClone{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", hashcode=" + hashCode() +
                '}';
    }
}
